package com.sharing.mapper;

import com.sharing.domain.ProductionLike;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author MingTian
 * @version 1.0
 * @description TODO
 * @date 2023/4/3 21:23
 */
@Mapper
public interface ProductionLikeMapper {
    List<Integer> selectLikeUsersIdsByProductionId(Integer productionId, Integer page, Integer size);

    Integer selectLikeUsersNumByProductionId(Integer productionId);

    Integer selectLikeUsersNumByProductionLike(ProductionLike productionLike);

    Integer insertProductionLike(ProductionLike productionLike);

    ProductionLike selectLikeUserById(Integer id);

    Integer deleteProductionLikeById(Integer id);
}